<?php
ob_start();
session_start();
ob_clean();
error_reporting(E_ALL & E_NOTICE & E_WARNING); //dua len server thi dung cai nay
//error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);//chay tren localhost


//session_cache_expire(1024);
//error_reporting(E_ALL);// & ~E_NOTICE );
//error_reporting(E_ALL & ~E_NOTICE );
//header("Cache-Control: no-store, no-cache, must-revalidate");
//------------------------------------------------------------
//define('IS_ADDMIN_PAGE',false);dua len server thi dung cai nay
define('IS_ADDMIN_PAGE',false);
include_once('../common/config.php');
include_once('../common/configdb.php');
include_once(DIR_COMMON.'mysql.class.php');
include_once(DIR_COMMON.'model_base.class.php');
include_once(DIR_COMMON.'control_base.class.php');
include_once(DIR_COMMON.'view_base.class.php');
include_once(DIR_COMMON.'function.php');
global $db;

$db = new MySql(_dbName);
$db->connect(HOST_NAME,USER_NAME,PASS,DB_NAME);
mysql_query("SET NAMES 'UTF8'");
//$db->selectdb(_dbName);
global     $arrayError;
?>
